# $OpenBSD: Makefile,v 1.13 2015/05/22 11:31:17 ajacoutot Exp $

COMMENT=		collection of GTK+ widgets on top of GUPnp

GNOME_PROJECT=		gupnp-ui
GNOME_VERSION=		0.1.1
REVISION=		7

SHARED_LIBS +=  gupnp-ui-1.0         0.0      # 0.0

EXTRACT_SUFX=		.tar.bz2

MODULES=		devel/gettext \
			x11/gnome

WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 cairo expat ffi fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 graphite2 gssdp-1.0 gthread-2.0 gtk-x11-2.0
WANTLIB += gupnp-1.0 harfbuzz lzma m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs soup-2.4
WANTLIB += sqlite3 xcb xcb-render xcb-shm xml2 z

LIB_DEPENDS=		net/gupnp/core \
			x11/gtk+2

TEST_IS_INTERACTIVE=	x11

do-test:
	${WRKSRC}/tests/test-view

.include <bsd.port.mk>
